package com.ulic.customerManApplication.commonmodule.dao.impl;

import java.util.List;

import org.springframework.stereotype.Component;

import com.ulic.customerManApplication.base.BaseDao;
import com.ulic.customerManApplication.commonmodule.bo.Menu;
import com.ulic.customerManApplication.commonmodule.dao.MenuDao;
@Component("menuDao")
public class MenuDaoImpl extends BaseDao implements MenuDao {

	@SuppressWarnings("unchecked")
	public List<Menu> getMenu() throws Exception {
		String hql = "from Menu m order by m.sequence asc";
		return hibernateTemplate.find(hql);
	}

}
